package com.zznzzn.myweb.mapper;

import com.zznzzn.myweb.pojo.Receiving;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReceivingMapper {
    public int addReceiving(Receiving receiving);
    public int updateReceiving(Receiving receiving);
    public int deleteReceiving(@Param("id") String receid);
    public List<Receiving> queryAllReceivingByUser(@Param("uuid") String uuid);
    public Receiving queryReceivingById(@Param("id") String receid);
    public int getReceCount(@Param("uuid") String uuid);

}
